<?php

use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;

class CreatePersonInfoMenu extends Migration
{
    private $_menuData=[
        '内容管理'=>[
            [
                'name'=>'index',
                'title'=>'抽奖用户',
                'controller'=>'PersonInfo'
            ],

        ]
    ];
    public function up()
    {
        //
        $menuGenerate=new \Larafortp\MenuGenerate();
        $menuGenerate->insertAll($this->_menuData);
    }
    public function down()
    {
        //
        $menuGenerate=new \Larafortp\MenuGenerate();
        $menuGenerate->insertAllRollback($this->_menuData);
    }
}
